
def  print4():
    print("print 4 up")
    print("print 4 down")

def  print3():
    print("print 3 up")
    print4()
    print("print 3  down")

def  print2():
    print("print 2 up")
    print3()
    print("print 2  down")

def  print1():
    print("print 1  up")
    print2()
    print("print 1  down")

print1()